package my.sample.dp.basics;

public abstract class Person {
	
	String name;
	int age;
	boolean isMale;

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public boolean isMale() {
		return isMale;
	}
	public void setMale(boolean isMale) {
		this.isMale = isMale;
	}
	
	public abstract boolean isRightPerson();
	
}